<?php

defined('_JEXEC') or die('Restricted access');
require_once(JPATH_COMPONENT . DS . 'controller.php');
JTable::addIncludePath(JPATH_COMPONENT. DS . 'tables');
JModel::addIncludePath(JPATH_COMPONENT. DS . 'models');
$document =& JFactory::getDocument();
$document->setTitle('My Golf Scorecard');

echo '<div class="componentheading">Welcome to the Center4BA</div>';
$controller = new ScorecardController();
$controller->execute(JRequest::getVar('task'));
$controller->redirect();

?>
